/* 3 steps to activate all your activeX in IE : 
1. turn off object display while loading page 
2. rewrite outerHTML (actually activates activeX ...)
3. turn on object display
*/ 
var oStyleSheet=document.styleSheets[0];
oStyleSheet.addRule("OBJECT","display:none");
function actActiveX() 
{
    var objExist=false;
    var cObjects=document.getElementsByTagName("OBJECT");
    for(var __i=0;__i<cObjects.length;__i++) 
    {
        objExist=true;
        if(cObjects[__i].name != "sitenotegallery")
        {
            cObjects[__i].outerHTML=cObjects[__i].outerHTML;
        }
    }
    if(objExist)
    {
        oStyleSheet.addRule("OBJECT","display:block");
    }
} 
window.attachEvent("onload",actActiveX);

